package cn.edu.mju.property.dao;

import cn.edu.mju.property.entity.Repair;
import cn.edu.mju.property.entity.User;

import java.util.List;

public interface RepairDao {


    /*添加报修数据*/
    public boolean addRepair(Repair repair);

    /*删除报修数据*/
    public boolean delRepair();

    /*修改报修数据*/
    public boolean updateRepair(Repair repair);

    /*获取分页数据*/
    public List<Repair> findByPage(int start, int rows);

    /*获取总记录数*/
    public int findTotalCount();

}
